/* eslint-disable import/no-extraneous-dependencies */
const config = require('../');
const test = require('tape');

test('test basic properties of config', function (t) {
  t.ok(isObject(config.parserOptions));
  t.ok(isObject(config.env));
  t.ok(isObject(config.globals));
  t.ok(isObject(config.rules));
  t.end();
});

function isObject(obj) {
  return typeof obj === 'object' && obj !== null;
}
